package request

type Sendsms struct {
	Mobile string `gorm:"mobile" json:"mobile" binding:"required"`
	Score  string `gorm:"score" json:"score" binding:"required"`
}
type Login struct {
	Mobile  string `gorm:"mobile" json:"mobile" binding:"required"`
	Sendsms string `gorm:"sendsms" json:"sendsms" binding:"required"`
}
type AddWork struct {
	Title          string `gorm:"title" json:"title" binding:"required"`
	Desc           string `gorm:"desc" json:"desc" binding:"required"`
	Musicid        int    `gorm:"musicid" json:"music_id" binding:"required"`
	Worktype       string `gorm:"worktype" json:"work_type" binding:"required"`
	Checkstatus    string `gorm:"checkstatus" json:"check_status" binding:"required"`
	Ipaddress      string `gorm:"ipaddress" json:"ipaddress" binding:"required"`
	Workpermission string `gorm:"workpermission" json:"work_permission" binding:"required"`
	Likecount      int    `gorm:"likecount" json:"like_count" binding:"required"`
	Commentcount   int    `gorm:"commentcount" json:"comment_count" binding:"required"`
	Sharecount     int    `gorm:"sharecount" json:"sharecount" binding:"required"`
	Collectcount   int    `gorm:"collectcount" json:"collect_count" binding:"required"`
	Browsecount    int    `gorm:"browsecount" json:"browse_count" binding:"required"`
	Topicid        int    `gorm:"topicid" json:"topic_id" binding:"required"`
}
type Comment struct {
	Workid  int    `gorm:"workid" json:"work_id" binding:"required"`
	Content string `gorm:"content" json:"content" binding:"required"`
	Tag     int    `gorm:"tag" json:"tag" binding:"required"`
	Pid     int    `gorm:"pid" json:"pid" binding:"required"`
}
